php sigmoid function

59

php sigmoid function -

function sigmoid($t){
    return 1 / (1 + exp(-$t));
}

php sigmoid function -

public function sigmoid($t){
    return 1 / (1 + exp(-$t));
}

Comments

Submit
0 Comments